package com.hongxun.project.assets.iPoint.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongxun.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 地理走向图表 i_point
 * 
 * @author hongxun
 * @date 2019-03-19
 */
public class IPoint extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private String id;
	/** 所属变压器ID */
	private String byqId;
	/** 所属线路ID */
	private String lineId;
	/** 所属线路名称*/
	private String lineName;
	/** 点位类型 数据字典  point_type */
	private String type;
	/** 点位编号 */
	private String code;
	/** 电压等级 数据字典voltage_type(400v，220v) */
	private String voltage;
	/** 上联点位ID */
	private String upId;
	/** 下联点位ID */
	private String lowerId;
	/** 定位档距 */
	private BigDecimal span;
	/** 定位经度 */
	private BigDecimal lgt;
	/** 定位纬度 */
	private BigDecimal lat;
	/** 拉线数 */
	private Integer pullNum;
	/** 是否导线分段 数据字典split_type (是，否) */
	private String wireSplit;
	/** 导线型号ID */
	private String materId;
	/** 进户线长度 */
	private BigDecimal inletLine;
	/** 是否同杆架设 数据字典 */
	private String isPole;
	/** 同杆架设组ID */
	private String poleId;
	/** 角度 */
	private BigDecimal angle;
	/** 杆高 数据字典 pole_height  */
	private String poleHeight;
	/** 被跨越物类型 数据字典 cross_type */
	private String crossType;
	/** 创建日期 */
	private Date addDate;
	/** 创建人 */
	private Integer addUser;
	/** 最近更新人 */
	private Integer updateUser;
	/** 最近更新日期 */
	private Date updateDate;
	/** 数据状态 */
	private String datastate;

	/** 拉线经度 */
	private BigDecimal lxLgt;
	/** 拉线纬度 */
	private BigDecimal lxLat;

	private String dxfState;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setByqId(String byqId) 
	{
		this.byqId = byqId;
	}

	public String getByqId() 
	{
		return byqId;
	}
	public void setLineId(String lineId) 
	{
		this.lineId = lineId;
	}

	public String getLineId() 
	{
		return lineId;
	}

	public String getLineName() {
		return lineName;
	}

	public void setLineName(String lineName) {
		this.lineName = lineName;
	}

	public void setType(String type)
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setCode(String code) 
	{
		this.code = code;
	}

	public String getCode() 
	{
		return code;
	}
	public void setVoltage(String voltage) 
	{
		this.voltage = voltage;
	}

	public String getVoltage() 
	{
		return voltage;
	}
	public void setUpId(String upId) 
	{
		this.upId = upId;
	}

	public String getUpId() 
	{
		return upId;
	}
	public void setLowerId(String lowerId) 
	{
		this.lowerId = lowerId;
	}

	public String getLowerId() 
	{
		return lowerId;
	}
	public void setSpan(BigDecimal span) 
	{
		this.span = span;
	}

	public BigDecimal getSpan() 
	{
		return span;
	}
	public void setLgt(BigDecimal lgt) 
	{
		this.lgt = lgt;
	}

	public BigDecimal getLgt() 
	{
		return lgt;
	}
	public void setLat(BigDecimal lat) 
	{
		this.lat = lat;
	}

	public BigDecimal getLat() 
	{
		return lat;
	}
	public void setPullNum(Integer pullNum) 
	{
		this.pullNum = pullNum;
	}

	public Integer getPullNum() 
	{
		return pullNum;
	}
	public void setWireSplit(String wireSplit) 
	{
		this.wireSplit = wireSplit;
	}

	public String getWireSplit() 
	{
		return wireSplit;
	}
	public void setMaterId(String materId) 
	{
		this.materId = materId;
	}

	public String getMaterId() 
	{
		return materId;
	}
	public void setInletLine(BigDecimal inletLine) 
	{
		this.inletLine = inletLine;
	}

	public BigDecimal getInletLine() 
	{
		return inletLine;
	}
	public void setIsPole(String isPole) 
	{
		this.isPole = isPole;
	}

	public String getIsPole() 
	{
		return isPole;
	}
	public void setPoleId(String poleId) 
	{
		this.poleId = poleId;
	}

	public String getPoleId() 
	{
		return poleId;
	}
	public void setAngle(BigDecimal angle) 
	{
		this.angle = angle;
	}

	public BigDecimal getAngle() 
	{
		return angle;
	}
	public void setPoleHeight(String poleHeight) 
	{
		this.poleHeight = poleHeight;
	}

	public String getPoleHeight() 
	{
		return poleHeight;
	}
	public void setCrossType(String crossType) 
	{
		this.crossType = crossType;
	}

	public String getCrossType() 
	{
		return crossType;
	}
	public void setAddDate(Date addDate) 
	{
		this.addDate = addDate;
	}

	public Date getAddDate() 
	{
		return addDate;
	}
	public void setAddUser(Integer addUser) 
	{
		this.addUser = addUser;
	}

	public Integer getAddUser() 
	{
		return addUser;
	}
	public void setUpdateUser(Integer updateUser) 
	{
		this.updateUser = updateUser;
	}

	public Integer getUpdateUser() 
	{
		return updateUser;
	}
	public void setUpdateDate(Date updateDate) 
	{
		this.updateDate = updateDate;
	}

	public Date getUpdateDate() 
	{
		return updateDate;
	}
	public void setDatastate(String datastate) 
	{
		this.datastate = datastate;
	}

	public String getDatastate() 
	{
		return datastate;
	}

	public BigDecimal getLxLgt() {
		return lxLgt;
	}

	public void setLxLgt(BigDecimal lxLgt) {
		this.lxLgt = lxLgt;
	}

	public BigDecimal getLxLat() {
		return lxLat;
	}

	public void setLxLat(BigDecimal lxLat) {
		this.lxLat = lxLat;
	}

	public String getDxfState() {
		return dxfState;
	}

	public void setDxfState(String dxfState) {
		this.dxfState = dxfState;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("byqId", getByqId())
            .append("lineId", getLineId())
            .append("type", getType())
            .append("code", getCode())
            .append("voltage", getVoltage())
            .append("upId", getUpId())
            .append("lowerId", getLowerId())
            .append("span", getSpan())
            .append("lgt", getLgt())
            .append("lat", getLat())
            .append("pullNum", getPullNum())
            .append("wireSplit", getWireSplit())
            .append("materId", getMaterId())
            .append("inletLine", getInletLine())
            .append("isPole", getIsPole())
            .append("poleId", getPoleId())
            .append("angle", getAngle())
            .append("poleHeight", getPoleHeight())
            .append("crossType", getCrossType())
            .append("addDate", getAddDate())
            .append("addUser", getAddUser())
            .append("updateUser", getUpdateUser())
            .append("updateDate", getUpdateDate())
            .append("datastate", getDatastate())
            .toString();
    }
}
